import Vue from 'vue'
import moment from 'moment'

const toLocaleString = val => {
  return val.toLocaleString()
}
const dataForat = val => {
  return moment(val).format('YYYY-MM-DD HH:ss:mm')
}
Vue.filter('thousand', toLocaleString)
Vue.filter('dataForat', dataForat)
